﻿<!--suppress ALL -->
<include file="./Template/header.html" />


<link rel="stylesheet" type="text/css" href="/Template/css/checkin.css?v=6">
<link rel="stylesheet" type="text/css" href="/Template/css/button.css?v=5">
<script type="text/javascript">



    $(function() {

        //初始化页面配置
        initPage("动态压力软支具专区");

        var app = new Vue({
            el: '#container',
            data: {
                finishedProductList: [],
            },
            methods: {
                checkRole: function(employeeRoleId, roleId) {
                    var employeeRoleArr = employeeRoleId.split(",");
                    var roleArr = roleId.split(",");

                    var result = false;
                    $.each(roleArr, function(i,val){
                        if($.inArray(val, employeeRoleArr) != -1 || $.inArray((parseInt(val)+100).toString(), employeeRoleArr) != -1){
                            result = true;
                        }
                    });
                    return result;
                },
                quickOrder: function() {
                    window.location.href = "/wechat/finishedProduct/quickOrder";
                },
                solution: function() {
                    window.location.href = "/wechat/clubfoot/faq?type=spio";
                },
                descript: function() {
                    window.location.href = "/wechat/magazine/index/type/动态压力软支具";
                },
                agentOrder: function() {
                    window.location.href = "/wechat/finishedProduct/index?supplier=spio";
                },
            }
        })

    });


</script>
<div class="container" id="container" style="background-color: #ffffff">
    <!--div style="text-align:center" class="item"  v-on:click="descript">
        <button class="introbutton">动态压力软支具介绍</button>
    </div-->
    <div class="user-center-exihibate">
        <ul>
            <li class="item" v-on:click="quickOrder()">
                <img class="pic" src="/Template/images/icon-buy.png" alt="">
                <p class="aims">支具购买</p>
            </li>
            <li class="item" v-on:click="solution()">
                <img class="pic" src="/Template/images/icon-solution.png" alt="">
                <p class="aims">相关帮助</p>
            </li>
        </ul>
        <div class="line"></div>
    </div>

    <php>
        if(in_role($employeeRole,"1,2,3,4,5,6,7,8,9,10")){
        $checkRole = 1;
        }else{
        $checkRole = 0;
        }
    </php>
    <div v-if="{$checkRole} == 1 && '{$employee.enterprise_code}' == 'xWk202003270001'">
        <div style="padding-left: 1rem;padding-top: 0.5rem">
            <img style="vertical-align: middle" src="/Template/images/icon-lefthint.png" alt="">
            <span style="color: #5d5e63;">员工与合作伙伴通道</span>
        </div>
        <div style="padding-top: 0" class="user-center-exihibate">
            <ul>

                <li class="item" v-on:click="agentOrder()">
                    <img class="pic" src="/Template/images/icon-agent.png" alt="">
                    <p class="aims">渠道下单</p>
                </li>
            </ul>
            <div class="line"></div>
        </div>
    </div>
    <div class="subscribe" style="display: none">
        <div class="two-d-code">
            <img class="two-d-code-bg" src="/Template/images/doc-2d-code-bg.png" alt="">
            <img class="two-d-code-img" src="/Template/images/customer-service-qrcode.png" alt="">
            <p class="recognize">
                <br/>
                长按图片[识别二维码]添加客服微信
                <br/>
                <button v-on:click="closeCustomerService()">关闭</button>
            </p>

        </div>
    </div>
</div>

<include file="./Template/footer.html" />

